package com.citywithincity.db.data2db;

import java.sql.PreparedStatement;
import java.sql.SQLException;

import com.citywithincity.db.interfaces.IPsSetter;

public class String2Double implements IPsSetter {

	@Override
	public void setValue(PreparedStatement ps, int index, Object value) throws SQLException {
		if(value==null){
			ps.setObject(index, 0);;
		}else{
			ps.setObject(index,value);
		}
	}

}
